/* ======使用注明=======
 //#import "SEGAutoHeightImageView.h"
 //@property (nonatomic, strong)SEGAutoHeightImageView *varAutoHeightImageView; <#注释#>
 // 控件数据模型创建
 SEGAutoHeightImageViewModel *data = [[SEGAutoHeightImageViewModel alloc]init];
 // 控件内容布局计算
 SEGAutoHeightImageViewLayout *layout = [[SEGAutoHeightImageViewLayout alloc]initWithData:data type:SEGEnumAutoHeightImageViewType_NO];
 // 内容布局填充到视图
 SEGAutoHeightImageView *varAutoHeightImageView = [[SEGAutoHeightImageView alloc]initWithFrame:CGRectZero];
 //varAutoHeightImageView.delegate = self;
 varAutoHeightImageView.left = 15;
 varAutoHeightImageView.top = 0;
 [varAutoHeightImageView setWithLayout:layout];
 
 */
#import <UIKit/UIKit.h>
#import "SEGAutoHeightImageViewModel.h"

@protocol SEGAutoHeightImageViewDelegate <NSObject>
- (void)autoHeightImageViewTap:(UIImageView *)imageView;
@optional
@end


@interface SEGAutoHeightImageView : UIView 
@property (nonatomic, strong,readonly)SEGAutoHeightImageViewLayout *layout;
- (void)setWithLayout:(SEGAutoHeightImageViewLayout *)layout;

@property (nonatomic, strong) UIImageView *contentImageView; // <#注释#>
@property (nonatomic, strong) UIButton *imageCountButton; // 右下角图片张数
@property (nonatomic, assign) id<SEGAutoHeightImageViewDelegate> delegate;// 代理
@end

